#!/usr/bin/python
"""
tpe_nodes_test.py: Tests for tpe_nodes.py
"""

import unittest

import tpe_nodes  # module under test


mat = tpe_nodes.Execute


class TpeNodesTest(unittest.TestCase):

  def testToken(self):
    # There are no literal strings in TPE, just literal tokens.

    n = tpe_nodes.TokenRef(('LITERAL', '\n'))
    print n
    print mat(n, [('LITERAL', '\n', 3)])
    return
    print mat(n, [])


if __name__ == '__main__':
  unittest.main()
